﻿namespace SmartHealthCare.Utils
{
   interface IMembershipManager
   {
      MembershipCreateStatus CreateUser(string application,string userName,string password,string email,string passwordQuestion,string passwordAnswer,bool isApproved);
      bool DeleteUser(string application,string userName,bool deleteAllRelatedData);
      void DeleteAllUsers(string application,bool deleteAllRelatedData);
      string GetUserNameByEmail(string application,string email);
      int GetNumberOfUsersOnline(string application);
      void UpdateUser(string application,string userName,string email,string oldAnswer,string newQuestion,string newAnswer,bool isApproved,bool isLockedOut);
      int UserIsOnlineTimeWindow(string application);
      string[] GetAllUsers(string application);
      UserInfo GetUserInfo(string application,string userName);
   }
}
